package dao;

import entity.Inventory;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface InventoryDao {
    //查询全部
    public List<Inventory> query(int state);
    //添加
    public int add(Inventory in);
    //修改状态
    public int update(String order);
    //按条件查询
    public List<Inventory> querytiaojian(@Param("start") String start,@Param("end") String end,@Param("cangku") String cangku);

}
